"""
配置文件
"""


class DefaultConfig(object):
    SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@101.42.224.35:3306/practise_flask'
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_COMMIT_TEARDOWN = False
    SQLALCHEMY_ECHO = False
    JWT_SECRET = 'LSJFLSJFLWE23O9UDFNSDF'

    # 配置缓存
    CACHE_TYPE = 'redis'
    CACHE_REDIS_HOST = '101.42.224.35'
    CACHE_REDIS_PORT = '6379'
    CACHE_REDIS_DB = 1
